Xbasic

SQL::ConnectionRollBackTransaction Method

Syntax

L RollBackTransaction()

Returns

Result_FlagLogical

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Description

Undo a set of changes started with BeginTransaction, but not yet applied (CommitTransaction hasn't been called).

Discussion

The RollBackTransaction() method undoes a set of changes started with BeginTransaction(), but not yet applied with CommitTransaction().

Example

Refer to SQL::Connection::BeginTransaction().

See Also